<p>
    <a href="index.php" class="btn">返回</a>
</p>
<form method="post">
<table>
    <tr>
        <td class="label">昵称：</td>
        <td><input class="a" type="text" name="nickname" required value="<?php echo $_POST['nickname']; ?>"><span class="requere-label">*</span></td>
    </tr>
    <tr>
        <td class="label">邮箱：</td>
        <td><input type="email" name="email" value="<?php echo $_POST['email']; ?>"></td>
    </tr>
    <tr>
        <td class="label">QQ：</td>
        <td><input type="number" name="qq" value="<?php echo $_POST['qq']; ?>"></td>
    </tr>
    <tr>
        <td class="label">选择回复部门：</td>
        <td><?php echo html_select_render(get_depts(true), '不选择', array('name' => 'dept_id')); ?></td>
    </tr>
    <tr>
        <td class="label">留言内容：</td>
        <td><textarea name="content" id="" cols="60" rows="7"><?php echo $_POST['content']; ?></textarea><span class="requere-label">*</span></td>
    </tr>
</table>
<div>
    <input type="submit" class="btn" value="提交留言">
    <input type="reset" class="btn" value="重新填写">
</div>
</form>